<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> <?php print $node->type . '-' . $view_mode;?> clearfix"<?php print $attributes; ?>>
  <div class='node-photo'><a href='<?php print $node_url;?>'><?php print render($content['field_product_photos'][0])?></a></div>
  <div class='node-title'><a href='<?php print $node_url;?>'><?php print $title;?></a></div>  
</div>